#ifndef _BSP_USART_H_
#define _BSP_USART_H_
#include "stdint.h"

#define USART0_TX_DATA_LEN  256
#define USART0_RX_DATA_LEN  256
extern uint16_t usart0_dmarx_len;
extern uint8_t usart0_RxBuffer[USART0_RX_DATA_LEN];

void bsp_usart0_init(void);
void send_data_dma_u0(uint8_t data[], uint8_t num);
void u0_printf(char* fmt,...);

#endif

